﻿using System;
using System.ComponentModel;
using System.Collections.Generic;

namespace SBPweb.Messenger.Clients.Base
{

    public interface IAsyncConnectionManager : IConnectionManager
    {

        void EnumeratePresenceStatesAsync();

        event EventHandler<ResultedAsyncCompletedEventArgs<List<string>>> EnumeratePresenceStatesCompleted;


        void SetPresenceStateAsync(string state);

        event EventHandler<AsyncCompletedEventArgs> SetPresenceStateCompleted;


        void ConnectAsync(string userName, string password);

        event EventHandler<AsyncCompletedEventArgs> ConnectCompleted;

    }

}